<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="/struts-tags" prefix="s" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
    This is my JSP page. <br>
    
    <hr />
    
    输入测试信息<br/>
    <s:form action="add">
    <s:textfield name="bdUser.phoneNumber" label="手机"></s:textfield>
    <s:textfield name="bdUser.qq" label="QQ"></s:textfield>
    <s:textfield name="bdUser.email" label="Email"></s:textfield>
    <s:textfield name="bdUser.password" label="password"></s:textfield>
    <s:textfield name="bdUser.realName" label="realName"></s:textfield>
    <s:textfield name="bdUser.nickname" label="nickname"></s:textfield>
    <s:textfield name="bdUser.birthday" label="birthday"></s:textfield>
    <s:textfield name="bdUser.sex" label="sex"></s:textfield>
    <s:textfield name="bdUser.registerState" label="registerState"></s:textfield>
    <s:textfield name="bdUser.registerCode" label="registerCode"></s:textfield>
    <s:submit/>
    </s:form>
    
  </body>
</html>
